View the IPv4 and IPv6 Interface Configuration on a VLAN

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Verify the interface configuration on the VLAN:

    For IPv4, enter: show interfaces vlan ip

    For IPv6, enter: show ipv6 interface vlan

Example

Verify the IPv4 interface configuration on the VLAN:

Switch:1(config-if)# show interfaces vlan ip

==============================================================================================================
                                                   Vlan Ip
==============================================================================================================
VLAN VRF    IP            NET              ADMIN     OPER   ADVERTISE DIRECTED  RPC     RPCMODE     RMON
ID   NAME   ADDRESS       MASK             STATUS    STATUS WHEN_DOWN BROADCAST
--------------------------------------------------------------------------------------------------------------
1050 Globa~ 192.0.2.9     255.255.255.0    enable     up    disable   disable   disable exist-only  disable
1102 Globa~ 198.51.100.1  255.255.255.0    enable     up    disable   disable   disable exist-only  disable
1133 iir3   192.0.2.10    255.255.255.0    enable     up    disable   disable   disable exist-only  disable
1500 spboip 192.0.2.11    255.255.255.0    enable     up    disable   disable   disable exist-only  disable
1590 spboip 198.51.100.2  255.255.255.0    enable     up    disable   disable   disable exist-only  disable
4057 Globa~ 192.0.2.12    255.255.255.0    enable     up    disable   disable   disable exist-only  disable


All 16 out of 16 Total Num of Vlan Ip Entries displayed


VLAN VRF           BCASTADDR REASM      DVR     DVR
ID   NAME          FORMAT    MAXSIZE    STATE   GW-IPv4 
--------------------------------------------------------------------------------
1050 GlobalRouter  ones      1500       disable  -
1102 GlobalRouter  ones      1500       disable  -
1133 iir3          ones      1500       disable  -
1500 spboip        ones      1500       disable  -
1590 spboip        ones      1500       disable  -
4057 GlobalRouter  ones      1500       disable  -

All 16 out of 16 Total Num of Vlan Ip Entries displayed

Verify the IPv6 configuration on the port:

Switch:1(config-if)# show ipv6 interface vlan

========================================================================================================================
                                             Vlan Ipv6 Interface
========================================================================================================================
IFINDX VLAN PHYSICAL          ADMIN   OPER  TYPE  MTU  HOP REACHABLE   RETRANSMIT  MCAST    IPSEC    RPC      RPCMODE
INDX        ADDRESS           STATE   STATE            LMT TIME        TIME        STATUS
------------------------------------------------------------------------------------------------------------------------
3170   1122 2c:f4:c5:dc:b4:89 enable  up    ETHER 1500 64  30000       1000        disable  disable  disable  existonly
3174   1126 2c:f4:c5:dc:b4:8b enable  up    ETHER 1500 64  30000       1000        disable  disable  disable  existonly
3185   1137 2c:f4:c5:dc:b4:90 enable  up    ETHER 1500 64  30000       1000        disable  disable  disable  existonly

================================================================================
                               Vlan Ipv6 Address
================================================================================
IPV6 ADDRESS                            VLAN-ID      TYPE    ORIGIN    STATUS
--------------------------------------------------------------------------------
2001:db8:0:0:0:0:0:1                      V-1122       UNICAST MANUAL    PREFERRED
2001:db8:0:0:2ef4:c5ff:fedc:b489          V-1122       UNICAST LINKLAYER PREFERRED
2001:db8:0:0:0:0:0:1                      V-1126       UNICAST MANUAL    PREFERRED
2001:db8:0:0:2ef4:c5ff:fedc:b48b          V-1126       UNICAST LINKLAYER PREFERRED
2001:db8:0:0:0:0:0:1                      V-1137       UNICAST MANUAL    PREFERRED
2001:db8:0:0:2ef4:c5ff:fedc:b490          V-1137       UNICAST LINKLAYER PREFERRED

3 out of 4 Total Num of Interface Entries displayed.
6 out of 7 Total Num of Address Entries displayed.